package com.ej.demo;

import com.thoughtworks.selenium.*;
import java.util.regex.Pattern;

public class newUIFlightSelection {
	
	/*public void testNewUIFlightSelection() throws Exception {
		selenium.open("/EN/Booking.mvc/SubmitStep1");
		selenium.click("//a[@id='SelectFlightsTab']/span");
		selenium.click("//a[@id='Flight2282302']/span[1]");
		assertEquals("Dep 21 November 2009 06:55", selenium.getText("//div[@id='basketFlight_2282302']/div[2]/ul/li[1]"));
		assertEquals("Arr 21 November 2009 09:55", selenium.getText("//div[@id='basketFlight_2282302']/div[2]/ul/li[2]"));
		selenium.click("//a[@id='Flight2281915']/span[1]");
		assertEquals("Dep 28 November 2009 10:35", selenium.getText("//div[@id='basketFlight_2281915']/div[2]/ul/li[1]"));
		assertEquals("Arr 28 November 2009 11:55", selenium.getText("//div[@id='basketFlight_2281915']/div[2]/ul/li[2]"));
		selenium.click("//a[@id='btnContinue']/span");
		selenium.waitForPageToLoad("30000");
	}*/
}
